from django.conf.urls import include, url

from django.contrib import admin
from django.conf import settings

urlpatterns = [
    url(r'^admin/', include(admin.site.urls)),
    url(r'', include('primary_blog.urls')),
    url(r'', include('blog_comments.urls')),
    url(r'', include('blog_auth.urls')),
]
if settings.DEBUG:
    import debug_toolbar

    urlpatterns += [
        url(r'^__debug__/', include(debug_toolbar.urls)),
    ]
